<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改供应商基础信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-basSupplier-edit" th:object="${basSupplier}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">供应商编码：</label>
                <div class="col-sm-8">
                    <input name="supplierNo" th:field="*{supplierNo}" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">分组：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="supplierGroupNo" th:field="*{supplierGroupNo}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">供应商名称：</label>
                <div class="col-sm-8">
                    <input name="supplierName" th:field="*{supplierName}" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">简称：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="simpleName" th:field="*{simpleName}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否可用：</label>
                <div class="col-sm-8">
<!--                    <input name="useable" th:field="*{useable}" class="form-control" type="text">-->
                    <select name="useable" th:field="*{useable}" class="form-control" type="text">
                        <option value="">---请选择---</option>
                        <option value="0">否</option>
                        <option value="1">是</option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="remark" th:field="*{remark}" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">地区分类：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="supplierArae" th:field="*{supplierArae}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">纳税人登记号：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="taxpayerRegistrationNumber" th:field="*{taxpayerRegistrationNumber}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">国家/地区：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="country" th:field="*{country}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">时区：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="timeZone" th:field="*{timeZone}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">数据格式：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="dataFormat" th:field="*{dataFormat}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">收货国家：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="receivingCountry" th:field="*{receivingCountry}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">税类：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="taxCategory" th:field="*{taxCategory}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">法人：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="legalPerson" th:field="*{legalPerson}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">注册资金：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="registeredCapital" th:field="*{registeredCapital}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">企业地址：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="address" th:field="*{address}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">联系人姓名：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="contactName" th:field="*{contactName}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">电话：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="contactNumber" th:field="*{contactNumber}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "bas/basSupplier";
        $("#form-basSupplier-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-basSupplier-edit').serialize());
            }
        }
    </script>
</body>
</html>